package com.shanyi.sendmsg.controller;

import com.shanyi.sendmsg.biz.UserBiz;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/user")
public class GetUserInfoController {
    
    private static final String GET_USER_INFO = "/info";
    
    @Resource
    private UserBiz userBiz;
    
    @GetMapping(GET_USER_INFO)
    public String getGetUserInfo() {
        userBiz.getUserInfo();
        return "success";
    }
}
